GetSHXText
Unit: SHX.pas
Description
Returns the set of TsgSHXVertex basing on text string to SHX Font text string with predefined by the ASHXStyles and Style parameters.
| Parameters | Description |
|---|---|
ASHXStyles | The instance of the TsgSHXFontList object |
Style | Defines the converting style |
Text | The object of the sgRawByteString type |
WideText | The wide text string |
CodePage | The code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009. |
Poly | The list of the SHX Font text string |
Above | The above value of the SHX Font defined in Font |
Below | The below value of the SHX Font defined in Font |
Left, Bottom, Right, Top | The rectangle of the SHX Font text string |
Returns:
| Value | Description |
|---|---|
Poly | The set of vertexes of SHX Font text string |
Above, Below | The above and below parameters of the SHX Font defined in Font |
Left, Bottom, Right, Top | The border rectangle of the SHX Font text string |
Syntax
procedure GetSHXText(ASHXStyles: TsgSHXFontlist; const Style: string; Text: sgRawByteString; WideText: WideString; CodePage: Integer; Poly: TList; var Above, Below, Left, Bottom, Right, Top: Double);